package com.qwert.shortlink.admin.common.enums;

import com.qwert.shortlink.admin.common.convention.error.IErrorCode;

/**
 * @author qwert
 * @version 1.0.0
 * @create 2024/6/26 20:46
 **/
public enum GroupErrorCode implements IErrorCode {
    GROUP_UPDATE_ERROR("B0003001", "短链接分组修改失败");
    private final String code;

    private final String message;

    GroupErrorCode(String code, String message) {
        this.code = code;
        this.message = message;
    }
    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getMessage() {
        return message;
    }
}
